package io.lkt.modules.sys.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lkt.modules.sys.entity.BUserInviteIncomeInfoEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface BUserInviteIncomeInfoDao extends BaseMapper<BUserInviteIncomeInfoEntity> {
	List<BUserInviteIncomeInfoEntity> queryByFromUserId(Integer fromUserId,Double base);

    List<BUserInviteIncomeInfoEntity> getInfoByUserId(Map<String, Object> params);

    Integer getInfoByUserIdTotal(Map<String, Object> params);
}
